package com.mikgonz.farkle.server;

import com.google.web.bindery.requestfactory.shared.Locator;


public class FriendshipLocator extends Locator<Friendship, Void> {

	@Override
	public Friendship create(Class<? extends Friendship> clazz) {
		return new Friendship();
	}

	@Override
	public Friendship find(Class<? extends Friendship> clazz, Void id) {
		return create(clazz);
	}

	@Override
	public Class<Friendship> getDomainType() {
		return Friendship.class;
	}

	@Override
	public Void getId(Friendship domainObject) {
		return null;
	}

	@Override
	public Class<Void> getIdType() {
		return Void.class;
	}

	@Override
	public Object getVersion(Friendship domainObject) {
		return null;
	}

}
